//
//  BVMyorderNumberCell.m
//  BuyVegetable
//
//  Created by zhuzi on 16/10/17.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import "BVMyOrderNumberCell.h"

@implementation BVMyOrderNumberCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        _orderNumberLabel = [[UILabel alloc]init];
        _orderNumberLabel.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:_orderNumberLabel];
        _orderNumberLabel.sd_layout
                        .topSpaceToView(self.contentView,0)
                        .leftSpaceToView(self.contentView,10)
                        .bottomSpaceToView(self.contentView,0)
                        .rightSpaceToView(self.contentView,0);
        
    }
    return self;
}
@end
